import http from "~/utils/http";

export const getStudyLevelRecord = data => {
    return http({
        url: 'studyLevelRecord/list',
        method: 'post',
        data
    });
};
export const getStudyLevel = () => {
    return http({
        url: 'studyLevel/list',
        method: 'post'
    });
};
export const updateStudyLevel = data => {
    return http({
        url: 'studyLevel/update',
        method: 'post',
        data
    });
};
export const getStudyLevelConfig = id => {
    return http({
        url: 'studyLevelConfig/selectOne?id='+id,
        method: 'get',
    });
};
export const updateStudyLevelConfig = data => {
    return http({
        url: 'studyLevelConfig/update',
        method: 'post',
        data
    });
};
